﻿using System;

namespace WindowsFormsAero.InteropServices
{
    internal static class TomConstants
    {
        internal const int AlignBar = 4;
        internal const int AlignCenter = 1;
        internal const int AlignDecimal = 3;
        internal const int AlignGlyphs = 6;
        internal const int AlignInterLetter = 4;
        internal const int AlignInterWord = 3;
        internal const int AlignJustify = 3;
        internal const int AlignLeft = 0;
        internal const int AlignRight = 2;
        internal const int AlignScaled = 5;
        internal const int AlignSnapGrid = 7;
        internal const int AllCaps = -2147483520;
        internal const int AllowOffClient = 0x200;
        internal const int AnimationMax = 8;
        internal const int ApplyLater = 1;
        internal const int ApplyNow = 0;
        internal const int ApplyTmp = 4;
        internal const int AutoColor = -9999997;
        internal const int Backward = -1073741823;
        internal const int BlinkingBackground = 2;
        internal const int Bold = -2147483647;
        internal const int CacheParms = 3;
        internal const int Cell = 12;
        internal const int ClientCoord = 0x100;
        internal const int CollapseEnd = 0;
        internal const int CollapseStart = 1;
        internal const int Column = 9;
        internal const int CommentsStory = 4;
        internal const int CreateAlways = 0x20;
        internal const int CreateNew = 0x10;
        internal const int Dash = 5;
        internal const int DashDot = 6;
        internal const int DashDotDot = 7;
        internal const int Dashes = 2;
        internal const int Default = -9999996;
        internal const int Disabled = -2147475456;
        internal const int Dots = 1;
        internal const int Dotted = 4;
        internal const int Double = 3;
        internal const int DoubleWave = 11;
        internal const int Emboss = -2147481600;
        internal const int End = 0;
        internal const int EndnotesStory = 3;
        internal new const int Equals = 5;
        internal const int EvenPagesFooterStory = 8;
        internal const int EvenPagesHeaderStory = 6;
        internal const int Extend = 1;
        internal const int False = 0;
        internal const int FirstPageFooterStory = 11;
        internal const int FirstPageHeaderStory = 10;
        internal const int FootnotesStory = 2;
        internal const int Forward = 0x3fffffff;
        internal const int Hair = 10;
        internal const int HeavyWave = 12;
        internal const int Hidden = -2147483392;
        internal const int HTML = 3;
        internal const int Character = 1;
        internal const int CharFormat = 13;
        internal const int Charset = -2147483648;
        internal const int IgnoreCurrentFont = 0;
        internal const int Imprint = -2147479552;
        internal const int IncludeInset = 1;
        internal const int Italic = -2147483646;
        internal const int KoreanBlockCaret = 1;
        internal const int LasVegasLights = 1;
        internal const int Line = 5;
        internal const int Lines = 3;
        internal const int LineSpace1pt5 = 1;
        internal const int LineSpaceAtLeast = 3;
        internal const int LineSpaceDouble = 2;
        internal const int LineSpaceExactly = 4;
        internal const int LineSpaceMultiple = 5;
        internal const int LineSpaceSingle = 0;
        internal const int Link = -2147483616;
        internal const int ListBullet = 1;
        internal const int ListNone = 0;
        internal const int ListNumberAsArabic = 2;
        internal const int ListNumberAsLCLetter = 3;
        internal const int ListNumberAsLCRoman = 5;
        internal const int ListNumberAsSequence = 7;
        internal const int ListNumberAsUCLetter = 4;
        internal const int ListNumberAsUCRoman = 6;
        internal const int ListParentheses = 0x10000;
        internal const int ListPeriod = 0x20000;
        internal const int ListPlain = 0x30000;
        internal const int LongDash = 13;
        internal const int LowerCase = 0;
        internal const int MainTextStory = 1;
        internal const int MarchingBlackAnts = 4;
        internal const int MarchingRedAnts = 5;
        internal const int MatchCase = 4;
        internal const int MatchFontCharset = 1;
        internal const int MatchFontSignature = 2;
        internal const int MatchPattern = 8;
        internal const int MatchWord = 2;
        internal const int Move = 0;
        internal const int NoAnimation = 0;
        internal const int NoIME = 0x80000;
        internal const int None = 0;
        internal const int NormalCaret = 0;
        internal const int NoSelection = 0;
        internal const int Object = 0x10;
        internal const int OpenAlways = 0x40;
        internal const int OpenExisting = 0x30;
        internal const int Outline = -2147483136;
        internal const int Page = 0x11;
        internal const int ParaFormat = 14;
        internal const int Paragraph = 4;
        internal const int PasteFile = 0x1000;
        internal const int PrimaryFooterStory = 9;
        internal const int PrimaryHeaderStory = 7;
        internal const int Protected = -2147483632;
        internal const int RE10Mode = 1;
        internal const int ReadOnly = 0x100;
        internal const int Resume = -9999994;
        internal const int Revised = -2147467264;
        internal const int Row = 10;
        internal const int RTF = 1;
        internal const int Screen = 7;
        internal const int Section = 8;
        internal const int SelActive = 8;
        internal const int SelAtEOL = 2;
        internal const int SelectionBlock = 6;
        internal const int SelectionColumn = 4;
        internal const int SelectionFrame = 3;
        internal const int SelectionInlineShape = 7;
        internal const int SelectionIP = 1;
        internal const int SelectionNormal = 2;
        internal const int SelectionRow = 5;
        internal const int SelectionShape = 8;
        internal const int SelfIME = 0x40000;
        internal const int SelOvertype = 4;
        internal const int SelReplace = 0x10;
        internal const int SelStartActive = 1;
        internal const int Sentence = 3;
        internal const int SentenceCase = 4;
        internal const int Shadow = -2147482624;
        internal const int ShareDenyRead = 0x200;
        internal const int ShareDenyWrite = 0x400;
        internal const int Shimmer = 6;
        internal const int Single = 1;
        internal const int SmallCaps = -2147483584;
        internal const int Spaces = 0;
        internal const int SparkleText = 3;
        internal const int Start = 0x20;
        internal const int Story = 6;
        internal const int Strikeout = -2147483640;
        internal const int Suspend = -9999995;
        internal const int TabBack = -3;
        internal const int TabHere = -1;
        internal const int Table = 15;
        internal const int TabNext = -2;
        internal const int Text = 2;
        internal const int TextFlowES = 0;
        internal const int TextFlowMask = 12;
        internal const int TextFlowNE = 12;
        internal const int TextFlowSW = 4;
        internal const int TextFlowWN = 8;
        internal const int TextFrameStory = 5;
        internal const int Thick = 9;
        internal const int ThickDash = 14;
        internal const int ThickDashDot = 15;
        internal const int ThickDashDotDot = 0x10;
        internal const int ThickDotted = 0x11;
        internal const int ThickLines = 4;
        internal const int ThickLongDash = 0x12;
        internal const int TitleCase = 2;
        internal const int Toggle = -9999998;
        internal const int ToggleCase = 5;
        internal const int TrackParms = 2;
        internal const int True = -1;
        internal const int TruncateExisting = 80;
        internal const int Undefined = -9999999;
        internal const int Underline = -2147483644;
        internal const int UnknownStory = 0;
        internal const int UpperCase = 1;
        internal const int UseAtFont = 2;
        internal const int UsePassword = 0x10;
        internal const int Wave = 8;
        internal const int Window = 11;
        internal const int WipeDown = 7;
        internal const int WipeRight = 8;
        internal const int Word = 2;
        internal const int WordDocument = 4;
        internal const int Words = 2;

        internal static int FromBool(bool value)
        {
            return value ? True : False;
        }
    }
}